import { request } from '@/utils/request';

import CRUD from '@/utils/request/CRUD';

// 整装收款列表CRUD
export const payContractZhengCRUD = CRUD('/system/zheng-contract-pay');

// 整装订单合同期款收款记录CRUD
export const payLogContractZhengCRUD = CRUD('/system/zheng-contract-pay-log');

// 收款记录-确认收款
export function payLogContractZhengConfirm(data: Record<string, any>) {
  return request.put({
    url: '/system/zheng-contract-pay-log/confirm',
    data,
  });
}
